<form [formGroup]="myForm" novalidate>
    <my-date-picker name="mydate" [options]="dateOpts" (dateChanged)="onDateChanged($event)" placeholder="{{placeholder}}" formControlName="myDate" required>
    </my-date-picker>
</form>